<?php

class ProductVendor extends Eloquent {

	protected $table = 'product_vendor';

	/**
	 * Relates to Product.
	 * @author AngelaMisa 02/23/2015 10:00AM
	 * @return mixed
	 */
	public function product() {
		return $this->belongsTo('Product', 'PRODUCT_id');
	}
	
	/**
	 * Relates to Vendor.
	 * @author AngelaMisa 02/23/2015 10:00AM
	 * @return mixed
	 */
	public function vendor() {
		return $this->belongsTo('Vendor', 'VENDOR_id');
	}
}
